package com.oocl.crm.db;

import com.oocl.crm.pojo.Customer;

public class MyLinkedListFactory {
	public static MyLinkedList<Customer> getInstance(){
		MyLinkedList<Customer> list = new MyLinkedList<Customer>();
		Customer c1=new Customer("1", "aa", "man", "2000-01-01", "Beijing", "123456");
		Customer c2=new Customer("2", "bb", "woman", "2000-01-02", "Tianjin", "123456");
		Customer c3=new Customer("3", "cc", "woman", "2000-01-03", "Beijing", "123456");
		Customer c4=new Customer("4", "dd", "man", "2000-01-04", "zhuhai", "123456");
		Customer c5=new Customer("5", "ee", "man", "2000-01-05", "zhuhai", "123456");
		Customer c6=new Customer("6", "ab", "woman", "2000-02-05", "guiling", "123456");
		Customer c7=new Customer("7", "bc", "woman", "2000-03-05", "qinghai", "123456");
		Customer c8=new Customer("8", "cd", "man", "2000-04-05", "xizang", "123456");
		Customer c9=new Customer("9", "de", "woman", "2000-05-05", "zhuhai", "123456");
		Customer c10=new Customer("10", "ff", "man", "2000-05-06", "zhuhai", "123456");
		list.insertNode(c1);
		list.insertNode(c2);
		list.insertNode(c3);
		list.insertNode(c4);
		list.insertNode(c5);
		list.insertNode(c6);
		list.insertNode(c7);
		list.insertNode(c8);
		list.insertNode(c9);
		list.insertNode(c10);
		return list;
	}
}
